package com.ruoyi.different.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntityOne;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 异网数据对象 different_rete
 * 
 * @author rocky
 * @date 2023-12-13
 */
public class DifferentRete extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String telephone;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String name;

    /** 运营商 */
    @Excel(name = "运营商")
    private Integer operator;

    /** 套餐资费 */
    @Excel(name = "套餐资费")
    private Integer tariff;

    /** 到期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maturityTime;

    /** 意向 */
    @Excel(name = "意向")
    private String intention;

    /** 用户类别 */
    @Excel(name = "用户类别")
    private Integer userCategory;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String plot;

    /** 详细地址 */
    private String detailedAddress;

    /** 经度 */
    private String longitude;

    /** 维度 */
    private String latitude;

    /** 图片 */
    private String picture;

    /** 录入人id */
    private Integer entryClerk;

    /** 录入人姓名 */
    @Excel(name = "录入人姓名")
    private String entryName;

    /** 录入人联系电话 */
    private String entryPhone;

    /** 支局id */
    private Integer branchId;

    /** 支局 */
    @Excel(name = "支局")
    private String branchName;

    /** 录入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 跟进次数 */
    @Excel(name = "跟进次数")
    private Integer followupTimes;

    /** 是否转化 */
    @Excel(name = "是否转化")
    private Integer conversion;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "转化时间")
    private Date  conversionTime;

    private Double conversionMoney;


    public Date getConversionTime() {
        return conversionTime;
    }

    public void setConversionTime(Date conversionTime) {
        this.conversionTime = conversionTime;
    }

    public Double getConversionMoney() {
        return conversionMoney;
    }

    public void setConversionMoney(Double conversionMoney) {
        this.conversionMoney = conversionMoney;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setOperator(Integer operator)
    {
        this.operator = operator;
    }

    public Integer getOperator()
    {
        return operator;
    }
    public void setTariff(Integer tariff)
    {
        this.tariff = tariff;
    }

    public Integer getTariff()
    {
        return tariff;
    }
    public void setMaturityTime(Date maturityTime)
    {
        this.maturityTime = maturityTime;
    }

    public Date getMaturityTime()
    {
        return maturityTime;
    }
    public void setIntention(String intention)
    {
        this.intention = intention;
    }

    public String getIntention()
    {
        return intention;
    }
    public void setUserCategory(Integer userCategory)
    {
        this.userCategory = userCategory;
    }

    public Integer getUserCategory()
    {
        return userCategory;
    }
    public void setPlot(String plot)
    {
        this.plot = plot;
    }

    public String getPlot()
    {
        return plot;
    }
    public void setDetailedAddress(String detailedAddress)
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress()
    {
        return detailedAddress;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setEntryClerk(Integer entryClerk)
    {
        this.entryClerk = entryClerk;
    }

    public Integer getEntryClerk()
    {
        return entryClerk;
    }
    public void setEntryName(String entryName)
    {
        this.entryName = entryName;
    }

    public String getEntryName()
    {
        return entryName;
    }
    public void setEntryPhone(String entryPhone)
    {
        this.entryPhone = entryPhone;
    }

    public String getEntryPhone()
    {
        return entryPhone;
    }
    public void setBranchId(Integer branchId)
    {
        this.branchId = branchId;
    }

    public Integer getBranchId()
    {
        return branchId;
    }
    public void setBranchName(String branchName)
    {
        this.branchName = branchName;
    }

    public String getBranchName()
    {
        return branchName;
    }
    public void setEntryTime(Date entryTime)
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime()
    {
        return entryTime;
    }
    public void setFollowupTimes(Integer followupTimes)
    {
        this.followupTimes = followupTimes;
    }

    public Integer getFollowupTimes()
    {
        return followupTimes;
    }
    public void setConversion(Integer conversion)
    {
        this.conversion = conversion;
    }

    public Integer getConversion()
    {
        return conversion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("telephone", getTelephone())
            .append("name", getName())
            .append("operator", getOperator())
            .append("tariff", getTariff())
            .append("maturityTime", getMaturityTime())
            .append("intention", getIntention())
            .append("userCategory", getUserCategory())
            .append("plot", getPlot())
            .append("detailedAddress", getDetailedAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("picture", getPicture())
            .append("remark", getRemark())
            .append("entryClerk", getEntryClerk())
            .append("entryName", getEntryName())
            .append("entryPhone", getEntryPhone())
            .append("branchId", getBranchId())
            .append("branchName", getBranchName())
            .append("entryTime", getEntryTime())
            .append("followupTimes", getFollowupTimes())
            .append("conversion", getConversion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("conversionTime", getConversionTime())
            .append("conversionMoney", getConversionMoney())
            .toString();
    }
}
